﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8;" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/inform.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/Homepage/style.css"/>
<script type="text/javascript" src="__PUBLIC__/js/jquery-1.11.0.min.js" ></script>
<script type="text/javascript" src="__PUBLIC__/js/Calendar3.js" ></script>
</head>
<script type="text/javascript">
	$(function(){
	
		$('#submitkey').click(function(){
			$('#search').submit();
		});
	})
</script>
<body>
<div class="main_wrap">
<div class="home_menu" style="padding-bottom:40px;">
	<include file="Public:home_header" />
	<div style="clear:both"></div>
	<div class="zt" id="zt">
		<include file="Public/leftMenu" />
		
		<div class="yinfor">
			<div class="center_wrap">
				<div class="center_title"><h1>礼物管理</h1></div>
				<form method='get' id="search" name="search" action="{:U('mygift')}">
				<table cellspacing=0 cellpadding=0 class="gift_search">
						<tr colspan='2' style="color:#3c3c3c;height:25px;"><td><strong>收到的礼物</strong></td></tr>
					<tr style="height:25px">
					<td style="width:250px;">从<input name="start_date" type="text"  style="border:1px solid #ddd;"  id="start_date" size="10" value="{$startTime}" maxlength="10" onclick="new Calendar().show(this);"  readonly="readonly" /><font style="font-size:12px;">&nbsp至&nbsp</font>
							<input name="end_date" type="text"  style="border:1px solid #ddd;"  id="end_date" size="10" value="{$endTime}" maxlength="10" onclick="new Calendar().show(this);" readonly="readonly" /></td>
					<td style="width: 210px;">送礼人账号：<input name="recieverId"  style="border:1px solid #ddd;width:90px;"   id="recieverId" type="text" value="{$recieverId}" /></td>
					<td style="width: 210px;">礼物名称：<input name="giftname"  style="border:1px solid #ddd;width:90px;"  id="giftname" value="{$giftName}" type="text" /></td>
					</tr>
					<tr style="height:35px"><td colspan='3'>房间 ID：<input type="text"  style="border:1px solid #ddd;"  value="{$roomId}"  id="roomId" name="roomId" style="width: 90px""/>&nbsp&nbsp<input id="submitkey" type="button" value="查询" style="background-color:#73909E;border:none;color:#fff;"/></td></tr>

				</table>
				</form>
				<table  cellspacing=0 cellpadding=0  class="gift_detail" style="margin-left:15px;">
				<tr class="detailtr"><td style="border-left:1px solid #C8C8C8;"><strong>礼物名称</strong></td><td><strong>送礼人账号</strong></td><td><strong>数量</strong></td><td><strong>礼品金额</strong></td><td><strong>房间ID</strong></td><td><strong>收到的礼金</strong></td><td><strong>时间</strong></td></tr>
				<empty name="data">
				<tr height='33'><td colspan=7>无记录</td></tr>
				</empty>
				<volist name='data' id='vo'>

				<tr height='33'><td >{$vo.cgiftname}</td><td>{$vo.nuserid}</td><td>{$vo.ncount}</td><td>{$vo.nmoney}</td><td>{$vo.nroomid}</td><td>{$vo.ngiftmoney}</td><td><?php echo date("Y-m-d h:i:s", strtotime($vo['dtime']));?></td></tr>

				</volist>

				</table>
				{$list}
					
			</div>

		</div>

	</div>
</div>
</div>






</body>
</html>